{* Smarty *}
{extends file="include/base_with_menu.tpl"}

{block name="external_javascript"}
<script type="text/javascript" src="/scripts/city.js"></script>
{/block}

{block name="javascript"}
<script type="text/javascript">
(function($) {
    $(function() {
        init_province_city_area_dom('province', 'city', 'area');
    });
})(jQuery);
</script>
{/block}

{block name="content"}
<h3 class="blockTitle">添加学校</h3>
<div class="layout">
    <form method="post" action="/market/se/school/add">
    <table width="100%" class="tbLayout01" cellspacing="0" cellpadding="0">
        <tr>
            <td width="100" class="textRight">区域：</td>
            <td class="textLeft">
                <select id="province" class="txt01">
                    <option value="">--省--</option>
                </select>
                &nbsp;&nbsp;
                <select id="city" class="txt01">
                    <option value="">--市--</option>
                </select>
                &nbsp;&nbsp;
                <select id="area" class="txt01" name="area_id">
                    <option value="">--区/县--</option>
                </select>
            </td>
        </tr>
        <tr>
            <td width="100" class="textRight">新学校名：</td>
            <td class="textLeft">
                <input type="text" class="txt01" name="name" size="30" />
                <span class="cGray">(2-5个汉字)</span>
            </td>
        </tr>
        <tr>
            <td class="textRight">&nbsp;</td>
            <td class="textLeft">
                <input type="submit" value="提 交" />&nbsp;&nbsp;
                <input type="button" value="取 消" onclick="javascript:window.history.back();" />
            </td>
        </tr>
    </table>
    <input type="hidden" name="{$token_name|escape}" value="{$token_hash}" />
    <input type="hidden" name="return_url" value="{$return_url|default:''}" />
    </form>

    <p>&nbsp;</p>
    <p class="cGreen">提示：</p>
    <ul class="textLeft tip">
        <li>点击取消返回学校列表页面，不会新增新学校</li>
    </ul>
</div>
{/block}
